package cc.mrbird.febs.buss.service;

import cc.mrbird.febs.buss.entity.AppointmentInfo;

import cc.mrbird.febs.common.entity.QueryRequest;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.HashMap;

import java.util.List;

/**
 * 预约信息 Service接口
 *
 * @author jeson
 * @date 2021-04-26 11:01:03
 */
public interface IAppointmentInfoService extends IService<AppointmentInfo> {

    /**
     * 查询（所有）
     *
     * @param appointmentInfo appointmentInfo
     * @return List<AppointmentInfo>
     */
    List<AppointmentInfo> findAppointmentInfos(AppointmentInfo appointmentInfo);
    IPage<AppointmentInfo> findAppointmentInfoDetail(QueryRequest request, HashMap<String, String> map);
    /**
     * 新增
     *
     * @param appointmentInfo appointmentInfo
     */
    void createAppointmentInfo(AppointmentInfo appointmentInfo);

    /**
     * 修改
     *
     * @param appointmentInfo appointmentInfo
     */
    void updateAppointmentInfo(AppointmentInfo appointmentInfo);

    /**
     * 删除
     *
     * @param appointmentInfo appointmentInfo
     */
    void deleteAppointmentInfo(AppointmentInfo appointmentInfo);

    /**
    * 删除
    * @param ids
    */
    void deleteAppointmentInfo(String[] ids);
}
